<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>、

</head>
<body>
<script>
    //ES6新特性，获取除了已经定义参数以外的
    function aaa(a,b,...rest){
        console.log("a=>"+a);
        console.log("b=>"+b);
        console.log(rest);
    }
</script>

</body>
</html>